﻿using System;
namespace Model.EntityModel
{

    /// <summary>
    /// 商品订单表
    /// </summary>
    public class Shop_Order
    {
        /// <summary>
        /// 订单id
        /// </summary>
        public long ID { set; get; }
        /// <summary>
        /// 用户id
        /// </summary>
        public long User_Id { set; get; }
        /// <summary>
		/// 外部订单编号
		/// </summary>
		public string ExternalNumber { set; get; }
        /// <summary>
        /// 订单编号
        /// </summary>
        public string Number { set; get; }
        /// <summary>
        /// 收货人姓名
        /// </summary>
        public string Consignee_Name { set; get; }
        /// <summary>
		/// 收货人省级id
		/// </summary>
		public long Consignee_ProvinceId { set; get; }
        /// <summary>
        /// 收货人市级id
        /// </summary>
        public long Consignee_CityId { set; get; }
        /// <summary>
        /// 收货人县级id
        /// </summary>
        public long Consignee_CountyId { set; get; }
        /// <summary>
        /// 收货人乡级id
        /// </summary>
        public long Consignee_CountrysideId { set; get; }
        /// <summary>
        /// 收货人详细地址
        /// </summary>
        public string Consignee_Address { set; get; }
        /// <summary>
        /// 收货人邮编
        /// </summary>
        public string Consignee_ZipCode { set; get; }
        /// <summary>
        /// 收货人电话
        /// </summary>
        public string Consignee_Phone { set; get; }
        /// <summary>
        /// 总金额
        /// </summary>
        public string SumAmount { set; get; }
        /// <summary>
        /// 总置换券
        /// </summary>
        public string SumCreditCurrency { set; get; }
        /// <summary>
        /// 总创客券
        /// </summary>
        public string SumCKVoucher { set; get; }
        /// <summary>
        /// 快递费
        /// </summary>
        public string ExpressAmount { set; get; }
        /// <summary>
        /// 物流编号
        /// </summary>
        public string Logistics_Number { set; get; }
        /// <summary>
        /// 物流公司id
        /// </summary>
        public long LogisticsCompany_Id { set; get; }
        /// <summary>
        /// 订单状态（-2置换券已付，-1取消，0未付款，1代发货，2待收货，3待评价，4待退货，5完成）
        /// </summary>
        public int Status { set; get; }
        /// <summary>
        /// 付款时间
        /// </summary>
        public string PayTime { set; get; }
        /// <summary>
        /// 发货时间
        /// </summary>
        public string DeliveryTime { set; get; }
        /// <summary>
        /// 删除标识（0未删除，1已删除）
        /// </summary>
        public bool Del_Flag { set; get; }
        /// <summary>
        /// 最后修改时间
        /// </summary>
        public string LastModifiedTime { set; get; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public string PostTime { set; get; }
        /// <summary>
        /// 订单类型（0普通订单  1秒杀订单 2京东订单）
        /// </summary>
        public int Type { set; get; }
        /// <summary>
        /// 发票类型（0，不开具发票，1个人，2公司）
        /// </summary>
        public int InvoiceType { set; get; }
        /// <summary>
        /// 发票内容
        /// </summary>
        public string InvoiceDetail { set; get; }

        /// <summary>
        /// 订单id
        /// </summary>
        public long Shop_Order_Id { set; get; }
        /// <summary>
        /// 商品id
        /// </summary>
        public long Goods_Id { set; get; }
        /// <summary>
        /// 现金单价
        /// </summary>
        public string UnitPriceAmount { set; get; }
        /// <summary>
        /// 债权币单价
        /// </summary>
        public string UnitPriceCreditCurrency { set; get; }
        /// <summary>
        /// 现金总价
        /// </summary>
        public string SOG_SumAmount { set; get; }
        /// <summary>
        /// 债权币总价
        /// </summary>
        public string SOG_SumCreditCurrency { set; get; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Quantity { set; get; }
        /// <summary>
        /// 商品名称摘要
        /// </summary>
        public string Abstract { set; get; }

        public string Name { set; get; }
        /// <summary>
        /// 供货商Id
		/// </summary>
        public long Supplier_Id { set; get; }
        /// <summary>
		/// 裸价
		/// </summary>
		public string OrderNakedPrice { set; get; }
        /// <summary>
        /// 税额
        /// </summary>
        public string OrderTaxPrice { set; get; }
        /// <summary>
		/// 邮箱
		/// </summary>
		public string Email { set; get; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { set; get; }

        public long Consignee_AreaId { set; get; }
        /// <summary>
		/// 供应商userid
		/// </summary>
		public long Shop_Admin_Id { set; get; }
        /// <summary>
        /// 客服电话
        /// </summary>
        public string ServiceTelephone { set; get; }
        /// <summary>
        /// 供应商店铺名称
        /// </summary>
        public string SupplierName { set; get; }
        /// <summary>
        /// 协议价
        /// </summary>
        public string AgreementPrice { get; set; }
    }
}

